#include "stdafx.h"
#include "MyApplication.h"

#include "MyView.h"
#include "MyModel.h"

MyApplication::MyApplication(void)
{
}


MyApplication::~MyApplication(void)
{
}

bool MyApplication::onInit()
{
	// Initialize Model and View
	MyModel * pModel = new MyModel;
	this->setModel( pModel );
	this->setView( new MyView( pModel , this->GetHWND() ) );

	return true;
}